// setImmediate(() => console.log('[ 阶段3.immediate ] immediate 回调1'))
// setImmediate(() => console.log('[ 阶段3.immediate ] immediate 回调2'))
// setImmediate(() => console.log('[ 阶段3.immediate ] immediate 回调3'))

// setTimeout(() => {
//     console.log('[ 阶段1.定时器 ]  定时器 回调1')
// },0)
// setTimeout(() => {
//     console.log('[ 阶段1.定时器 ]  定时器 回调1')
// },0)
// setTimeout(() => {
//     console.log('[ 阶段1.定时器 ]  定时器 回调1')
// },0)

// Promise.resolve().then(() => {
    
// })

process.nextTick(() => {
    console.log("nextTick1延迟执行1")
})
process.nextTick(() => {
    console.log("nextTick1延迟执行2")
})
setImmediate(() => {
    console.log("setImmediate延迟执行1")
        process.nextTick(() => {
            console.log("强行插入")
        })
})
setImmediate(() => {
    console.log("setImmediate延迟执行2")
})
console.log("正常执行")